3.455 \(\int \frac{\sqrt{a+b x^3} (c+d x+e x^2+f x^3+g x^4)}{x^7} \, dx\)

Optimal. Leaf size=659 \[ -\frac{3^{3/4} \sqrt{2+\sqrt{3}} b^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-20 a g+2 b d\right ) \text{EllipticF}\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt{3}\right )}{40 a \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} b^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{16 a^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{b (b c-4 a f) \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )}{12 a^{3/2}}+\frac{3 b^{4/3} e \sqrt{a+b x^3}}{8 a \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac{1}{60} \sqrt{a+b x^3} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right )-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x} \]

[Out]

-(((10*c)/x^6 + (12*d)/x^5 + (15*e)/x^4 + (20*f)/x^3 + (30*g)/x^2)*Sqrt[a + b*x^3])/60 - (b*c*Sqrt[a + b*x^3])
/(12*a*x^3) - (3*b*d*Sqrt[a + b*x^3])/(20*a*x^2) - (3*b*e*Sqrt[a + b*x^3])/(8*a*x) + (3*b^(4/3)*e*Sqrt[a + b*x
^3])/(8*a*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) + (b*(b*c - 4*a*f)*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/(12*a^(3/2
)) - (3*3^(1/4)*Sqrt[2 - Sqrt[3]]*b^(4/3)*e*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*
x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3]
)*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(16*a^(2/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1
/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]) - (3^(3/4)*Sqrt[2 + Sqrt[3]]*b^(2/3)*(2*b*d + 5*(1 - Sqrt[3])*a^(1/3)*b^(
2/3)*e - 20*a*g)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3)
 + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7
 - 4*Sqrt[3]])/(40*a*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^
3])

________________________________________________________________________________________

Rubi [A]  time = 0.979823, antiderivative size = 659, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 10, integrand size = 35, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {14, 1825, 1835, 1832, 266, 63, 208, 1878, 218, 1877} \[ -\frac{3^{3/4} \sqrt{2+\sqrt{3}} b^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-20 a g+2 b d\right ) F\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{40 a \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} b^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{16 a^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{b (b c-4 a f) \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )}{12 a^{3/2}}+\frac{3 b^{4/3} e \sqrt{a+b x^3}}{8 a \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac{1}{60} \sqrt{a+b x^3} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right )-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x} \]

Antiderivative was successfully verified.

[In]

Int[(Sqrt[a + b*x^3]*(c + d*x + e*x^2 + f*x^3 + g*x^4))/x^7,x]

[Out]

-(((10*c)/x^6 + (12*d)/x^5 + (15*e)/x^4 + (20*f)/x^3 + (30*g)/x^2)*Sqrt[a + b*x^3])/60 - (b*c*Sqrt[a + b*x^3])
/(12*a*x^3) - (3*b*d*Sqrt[a + b*x^3])/(20*a*x^2) - (3*b*e*Sqrt[a + b*x^3])/(8*a*x) + (3*b^(4/3)*e*Sqrt[a + b*x
^3])/(8*a*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) + (b*(b*c - 4*a*f)*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/(12*a^(3/2
)) - (3*3^(1/4)*Sqrt[2 - Sqrt[3]]*b^(4/3)*e*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*
x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3]
)*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(16*a^(2/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1
/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]) - (3^(3/4)*Sqrt[2 + Sqrt[3]]*b^(2/3)*(2*b*d + 5*(1 - Sqrt[3])*a^(1/3)*b^(
2/3)*e - 20*a*g)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3)
 + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7
 - 4*Sqrt[3]])/(40*a*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^
3])

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 1825

Int[(Pq_)*(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Module[{u = IntHide[x^m*Pq, x]}, Simp[u*(a +
 b*x^n)^p, x] - Dist[b*n*p, Int[x^(m + n)*(a + b*x^n)^(p - 1)*ExpandToSum[u/x^(m + 1), x], x], x]] /; FreeQ[{a
, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && GtQ[p, 0] && LtQ[m + Expon[Pq, x] + 1, 0]

Rule 1835

Int[(Pq_)*((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{Pq0 = Coeff[Pq, x, 0]}, Simp[(Pq
0*(c*x)^(m + 1)*(a + b*x^n)^(p + 1))/(a*c*(m + 1)), x] + Dist[1/(2*a*c*(m + 1)), Int[(c*x)^(m + 1)*ExpandToSum
[(2*a*(m + 1)*(Pq - Pq0))/x - 2*b*Pq0*(m + n*(p + 1) + 1)*x^(n - 1), x]*(a + b*x^n)^p, x], x] /; NeQ[Pq0, 0]]
/; FreeQ[{a, b, c, p}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[m, -1] && LeQ[n - 1, Expon[Pq, x]]

Rule 1832

Int[(Pq_)/((x_)*Sqrt[(a_) + (b_.)*(x_)^(n_)]), x_Symbol] :> Dist[Coeff[Pq, x, 0], Int[1/(x*Sqrt[a + b*x^n]), x
], x] + Int[ExpandToSum[(Pq - Coeff[Pq, x, 0])/x, x]/Sqrt[a + b*x^n], x] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] &
& IGtQ[n, 0] && NeQ[Coeff[Pq, x, 0], 0]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rule 1878

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a,
 3]]}, Dist[(c*r - (1 - Sqrt[3])*d*s)/r, Int[1/Sqrt[a + b*x^3], x], x] + Dist[d/r, Int[((1 - Sqrt[3])*s + r*x)
/Sqrt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]

Rule 218

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(2*Sqr
t[2 + Sqrt[3]]*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3
])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[(s*(s + r*x))/((1 + Sqr
t[3])*s + r*x)^2]), x]] /; FreeQ[{a, b}, x] && PosQ[a]

Rule 1877

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[((1 - Sqrt[3])*d)/c]]
, s = Denom[Simplify[((1 - Sqrt[3])*d)/c]]}, Simp[(2*d*s^3*Sqrt[a + b*x^3])/(a*r^2*((1 + Sqrt[3])*s + r*x)), x
] - Simp[(3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]*Elli
pticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]])/(r^2*Sqrt[a + b*x^3]*Sqrt[(s*(
s + r*x))/((1 + Sqrt[3])*s + r*x)^2]), x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && EqQ[b*c^3 - 2*(5 - 3*Sqrt[3
])*a*d^3, 0]

Rubi steps

\begin{align*} \int \frac{\sqrt{a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x^7} \, dx &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{1}{2} (3 b) \int \frac{-\frac{c}{6}-\frac{d x}{5}-\frac{e x^2}{4}-\frac{f x^3}{3}-\frac{g x^4}{2}}{x^4 \sqrt{a+b x^3}} \, dx\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}+\frac{b \int \frac{\frac{6 a d}{5}+\frac{3 a e x}{2}-\frac{1}{2} (b c-4 a f) x^2+3 a g x^3}{x^3 \sqrt{a+b x^3}} \, dx}{4 a}\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{b \int \frac{-6 a^2 e+2 a (b c-4 a f) x+\frac{6}{5} a (b d-10 a g) x^2}{x^2 \sqrt{a+b x^3}} \, dx}{16 a^2}\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x}+\frac{b \int \frac{-4 a^2 (b c-4 a f)-\frac{12}{5} a^2 (b d-10 a g) x+6 a^2 b e x^2}{x \sqrt{a+b x^3}} \, dx}{32 a^3}\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x}+\frac{b \int \frac{-\frac{12}{5} a^2 (b d-10 a g)+6 a^2 b e x}{\sqrt{a+b x^3}} \, dx}{32 a^3}-\frac{(b (b c-4 a f)) \int \frac{1}{x \sqrt{a+b x^3}} \, dx}{8 a}\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x}+\frac{\left (3 b^{5/3} e\right ) \int \frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt{a+b x^3}} \, dx}{16 a}-\frac{(b (b c-4 a f)) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x}} \, dx,x,x^3\right )}{24 a}-\frac{\left (3 b \left (2 b d+5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-20 a g\right )\right ) \int \frac{1}{\sqrt{a+b x^3}} \, dx}{80 a}\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x}+\frac{3 b^{4/3} e \sqrt{a+b x^3}}{8 a \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} b^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt{3}\right )}{16 a^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3^{3/4} \sqrt{2+\sqrt{3}} b^{2/3} \left (2 b d+5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-20 a g\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt{3}\right )}{40 a \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{(b c-4 a f) \operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b x^3}\right )}{12 a}\\ &=-\frac{1}{60} \left (\frac{10 c}{x^6}+\frac{12 d}{x^5}+\frac{15 e}{x^4}+\frac{20 f}{x^3}+\frac{30 g}{x^2}\right ) \sqrt{a+b x^3}-\frac{b c \sqrt{a+b x^3}}{12 a x^3}-\frac{3 b d \sqrt{a+b x^3}}{20 a x^2}-\frac{3 b e \sqrt{a+b x^3}}{8 a x}+\frac{3 b^{4/3} e \sqrt{a+b x^3}}{8 a \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac{b (b c-4 a f) \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )}{12 a^{3/2}}-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} b^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt{3}\right )}{16 a^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3^{3/4} \sqrt{2+\sqrt{3}} b^{2/3} \left (2 b d+5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-20 a g\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt{3}\right )}{40 a \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}\\ \end{align*}

Mathematica [C]  time = 0.424939, size = 211, normalized size = 0.32 \[ -\frac{\sqrt{a+b x^3} \left (5 x \left (2 x \left (6 a^2 f \left (a \sqrt{\frac{b x^3}{a}+1}+b x^3 \tanh ^{-1}\left (\sqrt{\frac{b x^3}{a}+1}\right )\right )+9 a^3 g x \, _2F_1\left (-\frac{2}{3},-\frac{1}{2};\frac{1}{3};-\frac{b x^3}{a}\right )+4 b^2 c x^3 \left (a+b x^3\right ) \sqrt{\frac{b x^3}{a}+1} \, _2F_1\left (\frac{3}{2},3;\frac{5}{2};\frac{b x^3}{a}+1\right )\right )+9 a^3 e \, _2F_1\left (-\frac{4}{3},-\frac{1}{2};-\frac{1}{3};-\frac{b x^3}{a}\right )\right )+36 a^3 d \, _2F_1\left (-\frac{5}{3},-\frac{1}{2};-\frac{2}{3};-\frac{b x^3}{a}\right )\right )}{180 a^3 x^5 \sqrt{\frac{b x^3}{a}+1}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[a + b*x^3]*(c + d*x + e*x^2 + f*x^3 + g*x^4))/x^7,x]

[Out]

-(Sqrt[a + b*x^3]*(36*a^3*d*Hypergeometric2F1[-5/3, -1/2, -2/3, -((b*x^3)/a)] + 5*x*(9*a^3*e*Hypergeometric2F1
[-4/3, -1/2, -1/3, -((b*x^3)/a)] + 2*x*(6*a^2*f*(a*Sqrt[1 + (b*x^3)/a] + b*x^3*ArcTanh[Sqrt[1 + (b*x^3)/a]]) +
 9*a^3*g*x*Hypergeometric2F1[-2/3, -1/2, 1/3, -((b*x^3)/a)] + 4*b^2*c*x^3*(a + b*x^3)*Sqrt[1 + (b*x^3)/a]*Hype
rgeometric2F1[3/2, 3, 5/2, 1 + (b*x^3)/a]))))/(180*a^3*x^5*Sqrt[1 + (b*x^3)/a])

________________________________________________________________________________________

Maple [B]  time = 0.008, size = 1180, normalized size = 1.8 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x^7,x)

[Out]

f*(-1/3*(b*x^3+a)^(1/2)/x^3-1/3*b*arctanh((b*x^3+a)^(1/2)/a^(1/2))/a^(1/2))+d*(-1/5*(b*x^3+a)^(1/2)/x^5-3/20*b
/a*(b*x^3+a)^(1/2)/x^2+1/20*I/a*b*3^(1/2)*(-b^2*a)^(1/3)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(
1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)*((x-1/b*(-b^2*a)^(1/3))/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^
(1/3)))^(1/2)*(-I*(x+1/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)/(b*x
^3+a)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a
)^(1/3))^(1/2),(I*3^(1/2)/b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)))+e*(
-1/4*(b*x^3+a)^(1/2)/x^4-3/8*b/a*(b*x^3+a)^(1/2)/x-1/8*I/a*b*3^(1/2)*(-b^2*a)^(1/3)*(I*(x+1/2/b*(-b^2*a)^(1/3)
-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)*((x-1/b*(-b^2*a)^(1/3))/(-3/2/b*(-b^2*a)^(1/3
)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b
/(-b^2*a)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*((-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*EllipticE(1/3*3
^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2),(I*3^(1/2)/b
*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2))+1/b*(-b^2*a)^(1/3)*EllipticF(1/
3*3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2),(I*3^(1/2
)/b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2))))+g*(-1/2*(b*x^3+a)^(1/2)/x^
2-1/2*I*3^(1/2)*(-b^2*a)^(1/3)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(
1/3))^(1/2)*((x-1/b*(-b^2*a)^(1/3))/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)*(-I*(x+1/2/b
*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*
3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2),(I*3^(1/2)/
b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)))+c*(-1/6*(b*x^3+a)^(1/2)/x^6-1
/12*b/a*(b*x^3+a)^(1/2)/x^3+1/12/a^(3/2)*b^2*arctanh((b*x^3+a)^(1/2)/a^(1/2)))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x^7,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt{b x^{3} + a}}{x^{7}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x^7,x, algorithm="fricas")

[Out]

integral((g*x^4 + f*x^3 + e*x^2 + d*x + c)*sqrt(b*x^3 + a)/x^7, x)

________________________________________________________________________________________

Sympy [A]  time = 9.38378, size = 304, normalized size = 0.46 \begin{align*} \frac{\sqrt{a} d \Gamma \left (- \frac{5}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{5}{3}, - \frac{1}{2} \\ - \frac{2}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 x^{5} \Gamma \left (- \frac{2}{3}\right )} + \frac{\sqrt{a} e \Gamma \left (- \frac{4}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{4}{3}, - \frac{1}{2} \\ - \frac{1}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 x^{4} \Gamma \left (- \frac{1}{3}\right )} + \frac{\sqrt{a} g \Gamma \left (- \frac{2}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{2}{3}, - \frac{1}{2} \\ \frac{1}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 x^{2} \Gamma \left (\frac{1}{3}\right )} - \frac{a c}{6 \sqrt{b} x^{\frac{15}{2}} \sqrt{\frac{a}{b x^{3}} + 1}} - \frac{\sqrt{b} c}{4 x^{\frac{9}{2}} \sqrt{\frac{a}{b x^{3}} + 1}} - \frac{\sqrt{b} f \sqrt{\frac{a}{b x^{3}} + 1}}{3 x^{\frac{3}{2}}} - \frac{b^{\frac{3}{2}} c}{12 a x^{\frac{3}{2}} \sqrt{\frac{a}{b x^{3}} + 1}} - \frac{b f \operatorname{asinh}{\left (\frac{\sqrt{a}}{\sqrt{b} x^{\frac{3}{2}}} \right )}}{3 \sqrt{a}} + \frac{b^{2} c \operatorname{asinh}{\left (\frac{\sqrt{a}}{\sqrt{b} x^{\frac{3}{2}}} \right )}}{12 a^{\frac{3}{2}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x**4+f*x**3+e*x**2+d*x+c)*(b*x**3+a)**(1/2)/x**7,x)

[Out]

sqrt(a)*d*gamma(-5/3)*hyper((-5/3, -1/2), (-2/3,), b*x**3*exp_polar(I*pi)/a)/(3*x**5*gamma(-2/3)) + sqrt(a)*e*
gamma(-4/3)*hyper((-4/3, -1/2), (-1/3,), b*x**3*exp_polar(I*pi)/a)/(3*x**4*gamma(-1/3)) + sqrt(a)*g*gamma(-2/3
)*hyper((-2/3, -1/2), (1/3,), b*x**3*exp_polar(I*pi)/a)/(3*x**2*gamma(1/3)) - a*c/(6*sqrt(b)*x**(15/2)*sqrt(a/
(b*x**3) + 1)) - sqrt(b)*c/(4*x**(9/2)*sqrt(a/(b*x**3) + 1)) - sqrt(b)*f*sqrt(a/(b*x**3) + 1)/(3*x**(3/2)) - b
**(3/2)*c/(12*a*x**(3/2)*sqrt(a/(b*x**3) + 1)) - b*f*asinh(sqrt(a)/(sqrt(b)*x**(3/2)))/(3*sqrt(a)) + b**2*c*as
inh(sqrt(a)/(sqrt(b)*x**(3/2)))/(12*a**(3/2))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt{b x^{3} + a}}{x^{7}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x^7,x, algorithm="giac")

[Out]

integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)*sqrt(b*x^3 + a)/x^7, x)